/*
 * genPacketStructs.h
 *
 * Created: 6/25/2013 2:38:57 AM
 *  Author: Tim
 */ 


#ifndef GENPACKETSTRUCTS_H_
#define GENPACKETSTRUCTS_H_

typedef struct xtrg_msg
{
	uint8_t Header;
	uint8_t msgHeader;
	uint8_t	ackedHeader;
	uint8_t status;
	uint16_t checkSum;
}xtrg_t;

typedef struct resetDaq_msg
{
	uint8_t Header;
	uint8_t msgHeader;
	uint16_t checkSum;
}resetDaq_t;

typedef struct programStart_msg
{
	uint8_t Header;
	uint8_t msgHeader;
	uint16_t checkSum;		
}programStart_t;

typedef struct programStop_msg
{
	uint8_t Header;
	uint8_t msgHeader;
	uint16_t checkSum;	
}programStop_t;

typedef struct daqReady_msg
{
	uint8_t Header;
	uint8_t msgHeader;
	uint16_t checkSum;
}daqReady_t;


#endif /* GENPACKETSTRUCTS_H_ */
